package com.leetcode.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Configuration
@ConfigurationProperties("dict")
public class Config {

    private Map<Integer,String> mode;
    private Map<Integer,String> state;

    public Map<Integer, String> getMode() {
        return mode;
    }

    public void setMode(Map<Integer, String> mode) {
        this.mode = mode;
    }

    public Map<Integer, String> getState() {
        return state;
    }

    public void setState(Map<Integer, String> state) {
        this.state = state;
    }
}
